execute if score @s spawnposition matches 1 run tp @s -12148 69 12512 90 0
execute if score @s spawnposition matches 2 run tp @s -12150 69 12506 45 0
execute if score @s spawnposition matches 3 run tp @s -12156 69 12504 0 0
execute if score @s spawnposition matches 4 run tp @s -12162 69 12506 -45 0
execute if score @s spawnposition matches 5 run tp @s -12164 69 12512 -90 0
execute if score @s spawnposition matches 6 run tp @s -12162 69 12518 -135 0
execute if score @s spawnposition matches 7 run tp @s -12156 69 12520 180 0
execute if score @s spawnposition matches 8 run tp @s -12150 69 12518 135 0